Late goals from substitutes Jayden Stockley and Peter Pawlett saw Aberdeen come from behind to snatch a 13th straight league win over Kilmarnock.